package com.woniuxy.carlife.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author fx
 * @ClassName:ServiceAppraise
 * @Description: 门店服务评价实体类
 * @date 2021/4/6 20:00
 **/

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_service_appraise")
@ApiModel(value="ServiceAppraise对象", description="")
public class ServiceAppraise implements Serializable {

    private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "主键、自增")
        @TableId(value = "service_appraise_id", type = IdType.AUTO)
        private Integer serviceAppraiseId;

        @ApiModelProperty(value = "提交评论的用户id")
        private Integer userId;

        @ApiModelProperty(value = "被评论的门店id")
        private Integer storeId;

        @ApiModelProperty(value = "被评论的服务id")
        private Integer serviceId;

        @ApiModelProperty(value = "购买该服务的订单id")
        private Integer orderId;

        @ApiModelProperty(value = "评分(满分5分)")
        private Double serviceScore;

        @ApiModelProperty(value = "评论详情")
        private String serviceAppraiseInfo;

        @ApiModelProperty(value = "用户选择的评价标签dto对象(对象存json)")
        private String commentTag;

        @ApiModelProperty(value = "评论图片")
        private String serviceAppraisePic;

        @ApiModelProperty(value = "评论创建时间")
        private Date appraiseCreateTime;


}
